|
micropump 2.2.1
|
Micro Pump Click Example. More...
Macros | |
| #define | MIKROBUS_POSITION_MICROPUMP MIKROBUS_1 |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Micro Pump Click Example.
This example demonstrates the use of the Micro Pump Click board. It initializes the Click module, calibrates the offset for accurate current measurements, and then controls the motor in different states while measuring and logging the output current in milliamps (mA).
The demo application is composed of two sections:
Initializes the logger and the Micro Pump Click driver and performs offset calibration.
Alternates the motor's operational states between COAST and FORWARD. For each state, it logs the motor's current consumption.
| #define MIKROBUS_POSITION_MICROPUMP MIKROBUS_1 |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |